package routers

import (
	"gosync/controllers"
)


//主要的路由文件
func init() {


	//路由地址前缀
	routebb.prefix="/admin/publish"
	routebb.RouteSet("/list", &controllers.PublishController{}, "get:List")


	routebb.RouteSet("/new", &controllers.PublishController{}, "get:NewPub")

	routebb.RouteSet("/run", &controllers.PublishController{}, "get:RunExec")
	routebb.RouteSet("/exec", &controllers.PublishController{}, "post:RunExecDo")

}
